package com.authine.cloudpivot.ext.dto.order;

import com.authine.mvp.app.launcher.domain.SelectorFormat;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 下单时需要寻源信息返回
 *
 * @author 张天赐
 */
@Data
@Builder
public class PlaceOrderSourcingDTO {
    private String quotationGoodsId;
    private String accountPeriod;
    private String clientVendorGoodsId;

    private List<SelectorFormat> platformQuotationId;
    private List<SelectorFormat> demandDepartment;
    private String demandGoodsId;
    private List<SelectorFormat> inquiryMemberId;
    private String inquiryId;
    private String costCenterName;

    public PlaceOrderSourcingDTO(String quotationGoodsId,
                                 String accountPeriod,
                                 String clientVendorGoodsId,
                                 List<SelectorFormat> platformQuotationId,
                                 List<SelectorFormat> demandDepartment,
                                 String demandGoodsId,
                                 List<SelectorFormat> inquiryMemberId,
                                 String inquiryId,
                                 String costCenterName) {
        this.quotationGoodsId = quotationGoodsId;
        this.accountPeriod = accountPeriod;
        this.clientVendorGoodsId = clientVendorGoodsId;
        this.platformQuotationId = platformQuotationId;
        this.demandDepartment = demandDepartment;
        this.demandGoodsId = demandGoodsId;
        this.inquiryMemberId = inquiryMemberId;
        this.inquiryId = inquiryId;
        this.costCenterName = costCenterName;
    }
}
